shr.el (shr-insert): Minor shr white space rendering tweak
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Mon, 19 Mar 2012 14:44:14 +0000 (14:44 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Mon, 19 Mar 2012 14:44:14 +0000 (14:44 +0000)
lisp/gnus/ChangeLog
lisp/gnus/shr.el

index dcb2d99105f9baafa0eff18504fad3c34a8b6a3e..209741b1832f2900de4e2438eba31e28278f458f 100644 (file)
@@ -1,3 +1,8 @@
+2012-03-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * shr.el (shr-insert): Update the text state properly to avoid
+       inserting spurious paragraph starts.
+
 2012-03-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
        * gnus-sum.el (gnus-update-marks): Don't propagate marks unless
index 53c0063de2ea39895a7d627f5a20beb6fd9b3b52..c2040a9b8cffef94b8418f9496b85ec9c3e3d298 100644 (file)
@@ -332,6 +332,7 @@ the URL of the image to the kill buffer instead."
       (unless shr-start
        (setq shr-start (point)))
       (insert elem)
+      (setq shr-state nil)
       (let (found)
        (while (and (> (current-column) shr-width)
                    (progn